-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
test_runner: fix it concurrency
#43757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_runner: fix it concurrency
#43757
Conversation
|
CC @aduh95 |
238a705 to
ba13d84
Compare
|
/cc @nodejs/test_runner |
|
Hum it looks like it makes |
@aduh95 I suggest waiting for the fix to land, then rebase and make sure test is stable in this branch |
2964c88 to
8d66424
Compare
|
I'm surprised by this, is it actually expected to run |
|
I don't think it is - jest runs files in parallel (as does mocha, i believe), but i'm not aware of anything that runs individual |
|
perhaps this should be a feature that is off by default? |
|
Since this PR conflicts |
8d66424 to
5eccc6b
Compare
|
so the current implementation in this PR works this way:
node/lib/internal/test_runner/test.js Lines 43 to 44 in 5eccc6b
|
The code still looks like it runs all tests in parallel with unlimited concurrency, also the |
the default is currently 1, see #43757 (comment) |
I am not sure if timeout is needed in |
|
Landed in a3766bc |
No description provided.